package com.adong;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author com.adong
 */
public class AopTest {
    @Test
    public void show(){
        ApplicationContext app = new ClassPathXmlApplicationContext("bean.xml");
        Aop aop = app.getBean("aop", Aop.class);
        aop.update();

    }
}
